package com.member.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
    * 接入管理（商户管理）
    */
@ApiModel(description="接入管理（商户管理）")
public class AccessManage implements Serializable {
    /**
    * 接入方id，对应银联接入id
    */
    @ApiModelProperty(value="接入方id，对应银联接入id")
    private String channelIdKq;

    /**
    * 接入方商户id
    */
    @ApiModelProperty(value="接入方商户id")
    private String accessHospitalId;

    /**
    * 商户编号
    */
    @ApiModelProperty(value="商户编号")
    private String hospitalId;

    /**
    * 商户代码
    */
    @ApiModelProperty(value="商户代码")
    private String merId;

    /**
    * 商户名称
    */
    @ApiModelProperty(value="商户名称")
    private String merName;

    /**
    * 二级商户代码
    */
    @ApiModelProperty(value="二级商户代码")
    private String subMerId;

    /**
    * 二级商户名称
    */
    @ApiModelProperty(value="二级商户名称")
    private String subMerName;

    /**
    * 支付方式
    */
    @ApiModelProperty(value="支付方式")
    private Integer payment;

    /**
    * 法定责任人
    */
    @ApiModelProperty(value="法定责任人")
    private String legalPerson;

    /**
    * 联系方式
    */
    @ApiModelProperty(value="联系方式")
    private String mobile;

    /**
    * 身份证号
    */
    @ApiModelProperty(value="身份证号")
    private String cardId;

    /**
    * 营业执照
    */
    @ApiModelProperty(value="营业执照")
    private String businessLicense;

    /**
    * 商户地址
    */
    @ApiModelProperty(value="商户地址")
    private String hospitalAddress;

    /**
    * 支付产品
    */
    @ApiModelProperty(value="支付产品")
    private String payProduct;

    /**
    * 收单机构
    */
    @ApiModelProperty(value="收单机构")
    private String merchant;

    /**
    * 设备GPS位置
    */
    @ApiModelProperty(value="设备GPS位置")
    private String gpsAdd;

    /**
    * 经办时间
    */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value="经办时间")
    private Date handlingTime;

    /**
    * 符合时间
    */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value="符合时间")
    private Date coincidenceTime;

    /**
    * 操作员id
    */
    @ApiModelProperty(value="操作员id")
    private String operatorId;

    /**
    * 渠道id
    */
    @ApiModelProperty(value="渠道id")
    private Integer channelId;

    /**
    * 入网时间
    */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value="入网时间")
    private Date netInTime;





    private static final long serialVersionUID = 1L;

    public String getChannelIdKq() {
        return channelIdKq;
    }

    public void setChannelIdKq(String channelIdKq) {
        this.channelIdKq = channelIdKq;
    }

    public String getAccessHospitalId() {
        return accessHospitalId;
    }

    public void setAccessHospitalId(String accessHospitalId) {
        this.accessHospitalId = accessHospitalId;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getMerId() {
        return merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    public String getMerName() {
        return merName;
    }

    public void setMerName(String merName) {
        this.merName = merName;
    }

    public String getSubMerId() {
        return subMerId;
    }

    public void setSubMerId(String subMerId) {
        this.subMerId = subMerId;
    }

    public String getSubMerName() {
        return subMerName;
    }

    public void setSubMerName(String subMerName) {
        this.subMerName = subMerName;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getHospitalAddress() {
        return hospitalAddress;
    }

    public void setHospitalAddress(String hospitalAddress) {
        this.hospitalAddress = hospitalAddress;
    }

    public String getPayProduct() {
        return payProduct;
    }

    public void setPayProduct(String payProduct) {
        this.payProduct = payProduct;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }

    public String getGpsAdd() {
        return gpsAdd;
    }

    public void setGpsAdd(String gpsAdd) {
        this.gpsAdd = gpsAdd;
    }

    public Date getHandlingTime() {
        return handlingTime;
    }

    public void setHandlingTime(Date handlingTime) {
        this.handlingTime = handlingTime;
    }

    public Date getCoincidenceTime() {
        return coincidenceTime;
    }

    public void setCoincidenceTime(Date coincidenceTime) {
        this.coincidenceTime = coincidenceTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Date getNetInTime() {
        return netInTime;
    }

    public void setNetInTime(Date netInTime) {
        this.netInTime = netInTime;
    }
}